//
//  CYBettingView.h
//  CaiYun
//
//  Created by 今日信息科技 on 2017/8/30.
//  Copyright © 2017年 今日信息科技. All rights reserved.
//
#import "CYCurrentBetModel.h"
typedef void(^bettingRefreshBlock)(void);//倒计时后，刷新
typedef void(^bettingBlock)(NSString *title, NSSet *set);//主要选中号码
typedef void(^bettingHeaderBlock)(NSString *headerTitle);//头视图响应方法
@interface CYBettingView : CYView
@property (nonatomic, strong) CYCurrentBetModel *model;
//@property (nonatomic, strong) NSDictionary *dict;//单个彩票的信息
@property (nonatomic, strong) NSMutableArray *randomArr;//随机号码数组
@property (nonatomic, assign) int shopNum;//购彩车的选中的号码的组数
@property (nonatomic, assign) BOOL reset;//快速下单或者投注后，强制所有的号码，选中的号码，清零 yes位强制清零，no为不强制
- (instancetype)initWithColor:(UIColor *)color block:(bettingBlock)block refresh:(bettingRefreshBlock)refresh headerBlock:(bettingHeaderBlock)headerBlock;
- (void)releaseTimer;
@end
